home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14097 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  894 b 

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++,
  4. Subject: Re: g++ 2.5.8 -> 2.7.0 Syntax Error
  5. Date: 29 Mar 1996 02:25:16 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4jfhmc$b72@news1.h1.usa.pipeline.com>
  8. References: <boyseDozKHC.JyA@netcom.com>
  9. NNTP-Posting-Host: 38.8.120.16
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 28, 1996 16:29:35 in article <g++ 2.5.8 -> 2.7.0 Syntax Error>,
  16. 'boyse@netcom.com (William Boyse)' wrote: 
  17.  
  18.  
  19.  
  20. >Element *Next_Element(Element *ptr_elt) 
  21. >{ 
  22. >ptr_elt = new Tri_6(); //  ******* THIS IS THE OFFENDING LINE ******** 
  23.  
  24. Omit the parentheses.  When constructing a class without 
  25. passing any parameters, the parentheses are not appropriate. 
  26.  
  27. -- 
  28. Pete Grant 
  29. Kalevi, Inc. 
  30. Software Engineering & development
  31.